/**********************************************************************
***********************************************************************
* FILE		: INCLUDES.H
* Description	: 
*			  
* Copyright (c) 2012 by Modiotek. All Rights Reserved.
* 
* History:
* Version		Name       		Date			Description
   0.1		AlexZhang	2012/12/27	Initial Version
   
**********************************************************************
*********************************************************************/


#define __DEGUG__ 1
/*
***********************************************************************
*                                         PROCESSOR SPECIFICS
***********************************************************************
*/

#define  CPU_FRT_FREQ        1000000L  /* Free Running Timer rate (Hz)                         */

#define  OS_TICK_OC                 1  /* Output compare # used to generate a tick int.       */

                                       /* Number of FRT counts to produce an interrupt @tick rate     */
#define  OS_TICK_OC_CNTS  (CPU_FRT_FREQ / OS_TICKS_PER_SEC)

/*
***********************************************************************
*                                         Standard Header Files
***********************************************************************
*/

#include <p18cxxx.h>        // Register definitions
#include <STRING.H>
#include <usart.h>
#include <timers.h>
#include <xlcd.h>
#include <delays.h>
#include <string.h>
#include <stdlib.h>
/* ----------------------- Modbus includes ----------------------------------*/
#include "mb.h"
#include "mbport.h"

#include "..\bsp.h"
#include "..\PowerControl.h"
#include "..\Mbcallback.h"

